#coding=utf-8
#from django.conf import settings as _settings

from seblog import settings as _settings
from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', 
     {'document_root': _settings.STATIC_PATH}),

    (r'^%sgoogle9521cdc3b9497ea4.html$' %_settings.URL_PREFIX,'%s.views.test_url' % _settings.PROJECT_NAME),
    (r'^%ssitemap$' %_settings.URL_PREFIX,'%s.views.sitemap_url' % _settings.PROJECT_NAME),

    (r'^%s$' %_settings.URL_PREFIX,'%s.views.test_url' % _settings.PROJECT_NAME),

    (r'^%sdemo/' %_settings.URL_PREFIX, include('%s.demoapp.urls' %_settings.PROJECT_NAME)),
    (r'^%sblog/' %_settings.URL_PREFIX, include('%s.web.blogapp.urls' %_settings.PROJECT_NAME)),

)

if _settings.DEBUG:
    pass
